package com.heng.dao.entity.product;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("t_product")
public class ProductEntity {
    @TableId(type = IdType.AUTO)
    private Long productId;
    private Integer categoryId;
    private BigDecimal price;
    private Integer stock;
}
